package com.pdf.pdfserver.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author songfz
 * @Description pdf基本配置
 * @Date 2022/1/20
 */
@Configuration
public class PdfContext {
    /**
     *  pdf拥有者密码
     */
    @Value(value = "${pdf.owner.password}")
    private String ownerPassword;
    /**
     * 文字水印
     */
    @Value(value = "${pdf.mark.text}")
    private String markText;
    /**
     * 图片水印地址
     */
    @Value(value = "${pdf.mark.image}")
    private String markImage;


    public String getOwnerPassword() {
        return ownerPassword;
    }

    public void setOwnerPassword(String ownerPassword) {
        this.ownerPassword = ownerPassword;
    }

    public String getMarkText() {
        return markText;
    }

    public void setMarkText(String markText) {
        this.markText = markText;
    }

    public String getMarkImage() {
        return markImage;
    }

    public void setMarkImage(String markImage) {
        this.markImage = markImage;
    }
}
